import { AnalysisApi } from './analysis.api'
import { App } from '../../app'
import { ServiceBase, presetErr, commonErr } from 'koacat'

export class Analysis extends ServiceBase<AnalysisApi> {
  constructor(app: App) {
    super('analysis')

    const api = new AnalysisApi(app)
    api.attachApisToRouter(app.router)
    this.api = api

  }

}